package com.eva.admin.dao.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.admin.dao.system.dto.QuerySystemDepartmentDTO;
import com.eva.admin.dao.system.vo.SystemDepartmentVO;
import com.eva.dao.system.model.SystemDepartment;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SystemDepartmentMapper extends BaseMapper<SystemDepartment> {

    /**
     * 查询字典数据管理列表
     *
     * @param dto 详见QuerySystemDepartmentDTO
     * @return List<SystemDepartmentVO>
     */
    List<SystemDepartmentVO> search(QuerySystemDepartmentDTO dto);
}
